package com.dongecloud.openfeign;

import com.donge.bean.User;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

//@Component
//@RequestMapping("haha")
public class HelloServiceFallBack implements HelloService {
    @Override
    public String hello() {
        return "出错啦，赶紧解决";
    }

    @Override
    public String hello1(String name) {
        return null;
    }

    @Override
    public User addUser2(User user) {
        return null;
    }

    @Override
    public void updateUser2(User user) {

    }

    @Override
    public void deleteUser2(Integer id) {

    }
}
